package com.ctg.behavior.common.usergroups;

import java.util.ArrayList;
import java.util.List;

import com.ctg.behavior.common.CtgApplicationInfo;
import com.ctg.behavior.common.calc.CtCalcBody;
import com.ctg.behavior.common.calc.CtCalcSortInfo;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = false)
@Data
public class CtUGCalcBody extends CtgApplicationInfo implements CtCalcBody {

	// 用户分群Id
	private Long id;
	// 分群标识
	private String name;
	// 采样百分比，默认100
	private Double percent = 100.0D;
	// 用户分群规则
	private List<CtUGRuleContent> ruleContentList = new ArrayList<>();
	// 结算排序
	private CtCalcSortInfo sortInfo = new CtCalcSortInfo();
	// 群用户限制
	private Integer limit = 5000;

}
